---
category: Level 1 — Basic
created: '2020-02-18'
keywords:
title: Reload the current page
---

## Reload and keep the POST data

```js
location.reload();
```

## Reload and ignore the POST data

```js
location.href = location.href;
```

## See also

-   [Redirect to another page](https://phuoc.ng/collection/html-dom/redirect-to-another-page/)
